import { ApiProperty } from '@nestjs/swagger';

export class ArticleBaseItem {
  @ApiProperty({ description: '文章id' })
  id: number;

  @ApiProperty({ description: '文章标题' })
  title: string;

  @ApiProperty({ description: '文章描述' })
  description: string;

  @ApiProperty({ description: '创建时间' })
  createTime: Date;

  @ApiProperty({ description: '更新时间' })
  updateTime: Date;

  @ApiProperty({ description: '文章内容' })
  content: string;
}
